public class GreekAlphabet {
    public static void main(String[] args) {
        int startPosition = 0;
        int endPosition = 0;
        char cStart = 'α';  //希腊字符
        char cEnd = 'ω';

        startPosition = cStart - '0';
        endPosition = cEnd - '0';

        System.out.println("希腊字母 ‘α’ 在 Unicode 表中的顺序位置：" + startPosition);
        System.out.println("希腊字母表：");
        for(int i = startPosition; i <= endPosition; i++)
        {
            System.out.print(" " + (char)(i + '0'));    //输出字符
            if((i - startPosition + 1) % 10 == 0)
                System.out.println("");
        }
    }
}
